﻿namespace Hiver.WebApi.Models
{
    /// <summary>
    /// 分页模型
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class BasePageModel<T>
    {
        /// <summary>
        /// 返回代码 200为正常
        /// </summary>
        public int code = 200;

        /// <summary>
        /// 返回消息
        /// </summary>
        public string msg;

        /// <summary>
        /// 返回实体
        /// </summary>
        public T data;

        /// <summary>
        /// 实体数量
        /// </summary>
        public int total;
    }
}